﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GalaSoft.MvvmLight.Messaging;
namespace BusTransfer
{
    /// <summary>
    /// 使用mvvmlight中的messenger方法进行消息传递
    /// </summary>
   public  class MsgTransfer
    {
        private static readonly MvvmMessenger mm = new MvvmMessenger();

        public static IMessenger Instance
        {
            get { return mm.msg; }
        }
    }
}
